package oop5.printer;

public class PrinterTest {

	public static void main(String[] args) {
		Printer p = new Printer("惠普炫彩700", 1999);
		p.setInk(new ColorInk());
		p.setPaper(new A4());
		p.work("hello world");
		System.out.println(">>>>>>>>>>>换一种墨水。。。。");
		p.setInk(new WhiteAndBlackInk("佳能"));
		p.work("刘琦是个good commorade");
	}

}
